def register(url,br,data):  #注册
    """params url:从env.ini中读取的环境信息
       params br:BaseRequests中的一个对象
       params data:测试数据
    """
    url = url + "futureloan/mvc/api/member/register"
    return br.get(url,params=data)

def login(url,br,data): #登录
    url = url + "futureloan/mvc/api/member/login"
    return br.post(url,data=data)

def recharge(url,br,data):  #充值
    url = url + "futureloan/mvc/api/member/recharge"
    return br.post(url,data=data)

def getlist(url,br):    #获取用户列表
    url = url + "futureloan/mvc/api/member/list"
    return br.post(url)